﻿// Copyright 2007. Adobe Systems Incorporated. All Rights Reserved.
package fl.controls;

import fl.controls.ScrollBar;
import fl.controls.ScrollBarDirection;
import fl.core.InvalidationType;
import fl.core.UIComponent;
import flash.display.DisplayObject;
import fl.events.ScrollEvent;
import flash.events.Event;
import flash.events.TextEvent;

extern class UIScrollBar extends ScrollBar {
	var _scrollTarget:DisplayObject;
	var inEdit:Bool = false;
	var inScroll:Bool = false;
	var _targetScrollProperty:String;
	var _targetMaxScrollProperty:String;
	private static var defaultStyles:Dynamic = {};
	public static function getStyleDefinition():Dynamic;
	public function new():Void;
	public var scrollTarget(dynamic, dynamic):DisplayObject;
	public var scrollTargetName(dynamic, dynamic):String;
	public function update():Void;
	function updateScrollTargetProperties():Void;
	function updateTargetScroll(event:ScrollEvent = null):Void;
	function handleTargetChange(event:Event):Void;
	function handleTargetScroll(event:Event):Void;
}

